package com.chat.service;

import com.chat.Local;
import com.chat.common.Group;
import com.chat.common.Message;
import com.chat.common.MessageType;

import java.awt.*;

/*
  搜索群聊
 */
public class SearchGroup {
      public void searchgroup(String gorupid){
          Message msg=new Message();
          msg.setMesType(MessageType.MESSAGE_SEARCH_GROUP);
          Group group=new Group();
          group.setId(gorupid);
          msg.setData(group);
          ClientConnectServerThread clientConnectServerThread=ManageClientConnectServerThread.getClientConnectServerThread(Local.user.getUsername());
          clientConnectServerThread.send(msg);
      }
}
